@csrf
<div class="layui-form-item">
    <label for="lesson_id" class="layui-form-label">推荐导师</label>
    <div class="layui-input-block">
        <select class="layui-select" name="lesson_id">
            @foreach ($mentors as $item)
            <option value="{{$item->id}}">{{$item->name}}</option>
            @endforeach
        </select>
    </div>
</div>
<div class="layui-form-item">
    <label for="tag" class="layui-form-label">推荐标签</label>
    <div class="layui-input-block">
        <input type="text" name="tag" class="layui-input" value="{{$recommended->tag??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="rank" class="layui-form-label">排序</label>
    <div class="layui-input-block">
        <input type="text" name="rank" class="layui-input" value="{{$recommended->rank??''}}">
    </div>
</div>
